package com.tjetc.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author gaoyongxiang
 * @version v1.0
 * @since 2025-10-09
 */
@RestController
public class UserController {


    @Value("${test.name}")
    private String name;

    @RequestMapping("/test")
    String home() {
        System.out.println(name);
        return "Hello World!";
    }
}
